# 症状评估表达式
print("\n=== 症状评估表达式 ===")
fever_days = 2  # 发烧天数
temperature = 37.5  # 体温
cough_score = 8  # 咳嗽程度
blood_oxygen = 98  # 血氧饱和度
diagnosis = (fever_days >= 3 and temperature >= 38.5) or (cough_score > 7 and blood_oxygen < 95)
print(f"建议住院观察: {diagnosis}")

# 信用评分复合表达式
print("\n=== 信用评分复合表达式 ===")
income = 50000  # 收入
education_level = 3  # 教育水平
late_payments = 2  # 延迟支付次数
credit_score = (income * 0.04) + (education_level * 0.2) - (late_payments * 5)
risk_level = "高危" if credit_score < 60 else "低危"
print(f"信用评分: {credit_score}, 风险等级: {risk_level}")

# 环境参数综合判断
print("\n=== 环境参数综合判断 ===")
temperature = 25  # 温度
humidity = 75  # 湿度
air_quality_index = 100  # 空气质量指数
should_activate = (temperature > 28 and humidity > 70/100) or (air_quality_index >= 150)
print(f"是否激活: {should_activate}")